From 25cb41a8aa62f7f6b7999a08c72056f447636bce Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 13 Dec 2005 17:15:26 +0100 Subject: [PATCH] Tony found a direct userspace access with his unit test for grant_table.c. We access "uop->frame_list" (a pointer) directly, rather than using "op.frame_list". Signed-off-by: Rusty Russell Signed-off-by: Tony Breeds --- xen/common/grant_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 93c352e6ed..4be9482eaa 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -579,7 +579,7 @@ gnttab_setup_table( (void)put_user(GNTST_okay, &uop->status); for ( i = 0; i < op.nr_frames; i++ ) (void)put_user(gnttab_shared_mfn(d, d->grant_table, i), - &uop->frame_list[i]); + &op.frame_list[i]); } put_domain(d); -- 2.30.2